import request from "../request.js";
export default {
  // 手机号密码登录
  accountlogin: (params) => request.post("/api/user/accountlogin", params),
  // 发送短信
  send: (params) => request.post("/api/sms/send", params),
  emsSend: (params) => request.post("/api/ems/send", params),
  // 退出登录
  logout: () => request.post("/api/user/logout"),
  // 手机号验证码登陆注册
  mobilelogin: (params) => request.post("/api/user/mobilelogin", params),
  // 邮箱注册登录
  emaillogin: (params) => request.post("/api/user/emaillogin", params),
};
